<template>
    <div class="category">
        <h2>{{ title }}</h2>
        <slot></slot>
    </div>
</template>

<script setup lang="ts" name="Category">
defineProps(['title'])
</script>

<style scoped>
.category {
    width: 100%;
    background-color: skyblue;
    border-radius: 10px;
    box-shadow: 0 0 10px;
    padding: 10px;
    height: 300px;
    text-align: center;
}
</style>
